<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('查看用户信息')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-user-edit" th:object="${lmUser}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">用户昵称：</label>
                <div class="col-sm-8">
                    <input name="userNickname" th:field="*{userNickname}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">用户头像：</label>
                <div class="col-sm-8">
                    <img name="userPic" style="width: 200px;height: 200px;" th:src="*{userPic}" />
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">用户手机号：</label>
                <div class="col-sm-8">
                    <input name="userPhone" th:field="*{userPhone}" class="form-control" type="text">
                </div>
            </div>
           <!-- <div class="form-group">
                <label class="col-sm-3 control-label">用户邀请码：</label>
                <div class="col-sm-8">
                    <input name="userInventioncode" th:field="*{userInventioncode}" class="form-control" type="text">
                </div>
            </div>-->
            <div class="form-group">    
                <label class="col-sm-3 control-label">账户余额：</label>
                <div class="col-sm-8">
                    <input name="userBalance" th:field="*{userBalance}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否认证服务商：</label>
                <div class="col-sm-8">
                    <input name="userType" th:field="*{userType}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">身份证正面：</label>
                <div class="col-sm-8">
                    <img name="userImg" style="width: 200px;height: 200px;" th:src="*{userImg}"/>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">身份证反面：</label>
                <div class="col-sm-8">
                    <img name="userImgback" style="width: 200px;height: 200px;" th:src="*{userImgback}"/>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">营业执照：</label>
                <div class="col-sm-8">
                    <img name="userLicense" style="width: 200px;height: 200px;" th:src="*{userLicense}"/>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">审核状态：</label>
                <div class="col-sm-8">
                    <input name="reviewStatus" th:field="*{reviewStatusName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剩余次数：</label>
                <div class="col-sm-8">
                    <input name="packageTimes" th:field="*{packageTimes}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "lm/user";
        $("#form-user-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            /*if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-user-edit').serialize());
            }*/
            alert("只能查看，不能编辑");
        }
    </script>
</body>
</html>